package ch.fhnw.kosmonauten.server.gui;

import ch.fhnw.kosmonauten.server.net.MultiThreadedServer;

/**
 * Diese Klasse started den I-Ching Server.
 * 
 * @author Fabian Siegrist
 * @author Oliver Freiermuth
 * @author Mikhail Onoufrienko
 * @author Risto Milani
 * @version $Revision: 231 $
 *          File name: $HeadURL: http://iching-kosmonauten.googlecode.com/svn/I-Ching/src/ch/fhnw/kosmonauten/server/gui/IChingServer.java $
 *          Last modified:$Date: 2013-05-27 21:12:52 +0000 (Mon, 27 May 2013) $
 *          Last modified by: $Author: molotok.mihon@gmail.com $
 */

// class definition
public class IChingServer {

	// attributes
	private static final int PORT = 14555;
	private static final int MAXCONNECTIONS = 30;

	// main methode
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		System.out.println("--- Server Start ---");
		MultiThreadedServer serverListener = new MultiThreadedServer(
				IChingServer.PORT, IChingServer.MAXCONNECTIONS);
		Thread serverThread = new Thread(serverListener);
		serverThread.start();
	}
}
